﻿#region Using Directives

    using System;
    using System.Web;
    using System.Web.SessionState;

    using MarketPulse.Web.Helpers;

#endregion

namespace MarketPulse.Web.UI
{
    public class Handler : IHttpHandler, IRequiresSessionState//, IHttpAsyncHandler
    {
        #region Member Variables

            /// <summary>
            /// Source class used to enable logging for this commandline interface
            /// </summary>
            protected static readonly Type mClass = System.Reflection.MethodBase.GetCurrentMethod().DeclaringType;

            /// <summary>
            /// Logging interface used to log messages (for log4net framework)
            /// </summary>
            protected static readonly log4net.ILog mLog = log4net.LogManager.GetLogger(mClass);

        #endregion

            public virtual void ProcessRequest(HttpContext context)
            {
            }

            public bool IsReusable
            {
                get
                {
                    return false;
                }
            }

        //public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData)
        //{
        //    throw new NotImplementedException();
        //}

        //public void EndProcessRequest(IAsyncResult result)
        //{
        //    throw new NotImplementedException();
        //}
    }
}
